<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div>
        
    </div>

    <script>

        /* 
            主要是用来获取客户端(浏览器+操作系统等)信息
         */
        //用户使用的操作系统相关的信息
        console.log(window.navigator.userAgent)
        //语言
        console.log(window.navigator.language)
        //浏览器版本
        console.log(window.navigator.appVersion)
    </script>
</body>
</html>